﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="FilterByDutyType.aspx.cs" Inherits="HotelManagement.UserManagementModule.FilterByDutyType" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
 <style type="text/css">
     
    .style29
    {
        font-size: large;
    }
 </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div style="height: 1042px; width: 866px; margin-top: 0px">
    <strong><span class="style29">Welcome Admin</span>_<asp:Label ID="Label3" runat="server" CssClass="style29"></asp:Label>
    </strong>
    <hr style="color: #FFFFFF" />
    <p>
        Create Account for Staff</strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</strong>Filter By:&nbsp; 
        <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" 
            Width="169px" onselectedindexchanged="DropDownList1_SelectedIndexChanged1">
            <asp:ListItem Selected="True">----------Duty Type--------</asp:ListItem>
            <asp:ListItem>Management</asp:ListItem>
            <asp:ListItem>Receptionist</asp:ListItem>
            <asp:ListItem>Admin</asp:ListItem>
        </asp:DropDownList>
        <p>
        <asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Size="Large" 
            ForeColor="Red" Visible="False"></asp:Label>
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <asp:DataList ID="DataList1" runat="server" CellPadding="4" ForeColor="#333333">
                    <AlternatingItemStyle BackColor="White" />
                    <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                    <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                    <ItemStyle BackColor="#FFFBD6" ForeColor="#333333" />
                    <ItemTemplate>
                        <span class="style30">Staff ID</span> -&gt;<asp:Label ID="Label4" runat="server" 
                            Text='<%# Eval("StaffID") %>'></asp:Label>
                        <br />
                        <span class="style30">First Name</span> -&gt;<asp:Label ID="Label5" runat="server" 
                            Text='<%# Eval("FirstName") %>'></asp:Label>
                        <br />
                        <span class="style30">Last Name</span> -&gt;<asp:Label ID="Label6" runat="server" 
                            Text='<%# Eval("LastName") %>'></asp:Label>
                        <br />
                        <span class="style30">Gender </span>-&gt;<asp:Label ID="Label7" runat="server" 
                            Text='<%# Eval("Gender") %>'></asp:Label>
                        <br />
                        <span class="style30">Career Title in Hotel</span> -&gt;<asp:Label ID="Label8" 
                            runat="server" Text='<%# Eval("Title") %>'></asp:Label>
                        <br />
                        <span class="style30">Duty Type</span> -&gt;<asp:Label ID="Label9" runat="server" 
                            Text='<%# Eval("DutyType") %>'></asp:Label>
                        <br />
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:HyperLink ID="HyperLink1" runat="server" 
                            NavigateUrl='<%# "ValidateAccAlreadyExist.aspx?sid="+Eval("StaffID") %>' 
                            style="text-align: center">Create Account</asp:HyperLink>
                    </ItemTemplate>
                    <SelectedItemStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
                </asp:DataList>
            </ContentTemplate>
        </asp:UpdatePanel>
</div>
</asp:Content>
